package com.flyaudio.xiaopengautopilot.entity;

public class AvgConsumption {
    private long _id;
    private String totalMileage; //总里程

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    private String date;  //日期
    public AvgConsumption() {
    }

    public AvgConsumption(String totalMileage, String powerConsumption,String date) {
        this.totalMileage = totalMileage;
        this.powerConsumption = powerConsumption;
        this.date = date;
    }

    public long get_id() {
        return _id;
    }

    public void set_id(long _id) {
        this._id = _id;
    }

    public String getTotalMileage() {
        return totalMileage;
    }

    public void setTotalMileage(String totalMileage) {
        this.totalMileage = totalMileage;
    }

    public String getPowerConsumption() {
        return powerConsumption;
    }

    public void setPowerConsumption(String powerConsumption) {
        this.powerConsumption = powerConsumption;
    }

    @Override
    public String toString() {
        return "AvgConsumption{" +
                "_id=" + _id +
                ", totalMileage='" + totalMileage + '\'' +
                ", powerConsumption='" + powerConsumption + '\'' +
                '}';
    }

    private String powerConsumption; //实时电耗
}
